//
//  MLSegmentBarConfig.h
//  MLSegmentBar
//
//  Created by dreamforstar on 2018/4/22.
//  Copyright © 2018年 com.jiankeyan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface MLSegmentBarConfig : NSObject
@property (nonatomic,strong)UIColor *segmentBarBackColor;
/** 选中时的颜色*/
@property (nonatomic, strong) UIColor *selectColor;
/** 默认的颜色*/
@property (nonatomic, strong) UIColor *nomalColor;
/** 指示器颜色*/
@property (nonatomic, strong) UIColor *indactorColor;
/** font*/
@property (nonatomic, strong) UIFont  *titleFont;
/** 指示器拓展宽度*/
@property (nonatomic, assign) CGFloat indactorExtWidth;
/** 指示器高度*/
@property (nonatomic, assign) CGFloat indactorHeight;

/**默认segmentBar配置*/
+(instancetype)defaultConfig;

/**block格式     返回值void 特殊符号(^要控制的属性名称) (参数) */
/**内部实现,外面只负责调用 */
@property (nonatomic, copy,readonly) MLSegmentBarConfig *(^itemNC)(UIColor *color);
/** */
@property (nonatomic, copy,readonly) MLSegmentBarConfig *(^indactorC) (UIColor *color);
/** <#name#>*/
@property (nonatomic, copy,readonly) MLSegmentBarConfig*(^indHeight) (CGFloat height);
- (MLSegmentBarConfig *(^)(UIColor *color))itemSC;
-(MLSegmentBarConfig *(^)(UIFont *font))titleFS;
-(MLSegmentBarConfig *(^)(CGFloat extW))indExtW;
-(MLSegmentBarConfig *(^)(UIColor *color))segmentBC;


@end


